package com.neu.flashmall.ms.service;

import com.neu.flashmall.ms.entity.SysRoleMenu;

import java.util.HashMap;
import java.util.List;
import java.util.Set;

public interface SysRoleMenuService {

    List<Long> getMenuIdByRole(Integer role);

    String updateRoleMenu(List<SysRoleMenu> sysRoleMenuList,Long id);

    int deleteRoleMenuByRole(Long roleId);

    String getAllAuthority();

    String deleteAllOtherRoleAuthority(String username,String password);

    HashMap<String, Set<Long>> getRoleToMenuIdSetMap();
}
